package com.lintf.wxpay.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lin tingfeng
 * @system Mac
 * @data 2024/11/21 11:19
 * @package_name com.lintf.wxpay.base.enums
 * @project_name sharding-sphere
 * @desc 微信支付API
 */
@AllArgsConstructor
@Getter
public enum WxApiType {

    NATIVE_PAY("/v3/pay/transactions/native"),

    MINI_PROGRAM_PAY("/v3/pay/transactions/jsapi"),

    ORDER_QUERY_BY_NO("/v3/pay/transactions/out-trade-no/%s"),

    CLOSE_ORDER_BY_NO("/v3/pay/transactions/out-trade-no/%s/close"),

    DOMESTIC_REFUNDS("/v3/refund/domestic/refunds"),

    DOMESTIC_REFUNDS_QUERY("/v3/refund/domestic/refunds/%s"),

    TRADE_BILL("/v3/bill/tradebill"),

    fund_flow_bill("/v3/bill/fundflowbill");

    private final String url;
}
